#include "stdio.h"
#include "stdlib.h"

void Swap(int, int);

int main()
{
    int iVal1 = 5, iVal2 = 6;
    printf("before: a = %d, b = %d\n", iVal1, iVal2);
    Swap(iVal1, iVal2);
    printf("after: a = %d, b = %d\n", iVal1, iVal2);

    return 0;
}

void Swap(int x, int y)
{
    int temp;
    temp = x;
    x = y;
    y = temp;
}
